import request from '@/utils/request'

// 获取用户权限操作按钮
export function getHandleList(params) {
  return request({
    url: '/sysPermission/getMenuListByUserId',
    method: 'POST',
    params: params
  })
}

// 获取菜单列表
export function getMenuList(params) {
  return request({
    url: '/menu/getAllMenu',
    method: 'get',
    params: params
  })
}

